package com.xinqi.modules.stats.score.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinqi.common.base.response.PageInfo;
import com.xinqi.common.mybatis.data.service.BaseService;
import com.xinqi.modules.stats.score.domain.CourseTotalScoreOfflineStudentEntity;
import com.xinqi.modules.stats.score.dto.req.CourseContentTotalScoreClassDTO;
import com.xinqi.modules.stats.score.dto.req.CourseTotalScoreOfflineStudentQueryDTO;
import com.xinqi.modules.stats.score.dto.rsp.CourseTotalScoreOfflineStudentResultDTO;

import java.util.List;

/**
 * 线下成绩学生表服务层
 *
 * @author: system
 * @date: 2023/03/26
 */
public interface CourseTotalScoreOfflineStudentService extends BaseService<CourseTotalScoreOfflineStudentEntity> {

    List<CourseTotalScoreOfflineStudentResultDTO> studentOfflineScoreList(CourseTotalScoreOfflineStudentQueryDTO query);

    PageInfo<CourseTotalScoreOfflineStudentResultDTO> studentOfflineScorePage(Page page, CourseTotalScoreOfflineStudentQueryDTO query);

    CourseTotalScoreOfflineStudentResultDTO studentOfflineScore(CourseTotalScoreOfflineStudentQueryDTO query);

    Long studentUnRead(CourseContentTotalScoreClassDTO dto);

    boolean studentReadOffline(CourseContentTotalScoreClassDTO dto);

}
